﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CompanySearch.Library.DTOs
{
    public class CompanySearchResult
    {
        public List<Company> Companies { get; set; }

        public SearchIndex Position { get; set; }
    }


    public class SearchIndex
    {
        public int ContainsIndex {get;set;}
        public int StartsWithIndex {get;set;}
    }
    


    public class Company
    {
        public string Name { get; set; }
        public string Ticker { get; set; }
        
    }
}
